﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CoursePack;
using System.Drawing;

namespace ScheduleGrid
{
    public class AppointmentCourse : Appointment
    {
        #region Data
        private Course m_Course;
        #endregion

        public AppointmentCourse(DateTime _StartTime, DateTime _EndTime, Course _Course)
            : base(_StartTime, _EndTime)
        {
            this.color = Color.White;
            this.m_BorderColor = Color.Blue;

            this.m_Course = _Course;
            this.m_Type = AppType.Course;
            this.m_Title = "Course";
        }

        #region Accessors
        public Course Course
        {
            get { return this.m_Course; }
        }

        #endregion
    }
}
